package com.atguigu.stgy.model.vo;

import com.atguigu.stgy.model.entity.ApartmentInfo;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
@Schema(description = "公寓信息")
public class ApartmentVO extends ApartmentInfo {
    //房间总数 totalRoomCount
    @Schema(description = "房间总数")
    private Integer totalRoomCount;
    //空闲房间总数 freeRoomCount
    @Schema(description = "空闲房间总数")
    private Integer freeRoomCount;

    //-----  入住状态  前端根据total和free自动计算
}
